Hi,
I can't think of why there would be a difference between KMotionCNC and Mach3. When a Slaved Axis becomes disabled as the result of a Limit Switch KFLOP doesn't currently disable the Master Axis and vice versa. Maybe it should but it isn't 100% clear that that would always be the desired behavior. When the Master Axis is disabled it can no longer move so it isn't a big issue that the Slave remains enabled. But when only the Slave is disabled and the Master remains enabled, and continues to move, that would be a problem in most cases.
You might add a watchdog test to disable the other if one becomes disabled with:
for (;;)
{
WaitNextTimeSlice();
if (ch0->Enable && !ch1->Enable) DisableAxis(0);
if (ch1->Enable && !ch0->Enable) DisableAxis(1);
}
Would that solve the issue?
Regards
TK
Group: DynoMotion |
Message: 11115 |
From: wgripp |
Date: 2/19/2015 |
Subject: Re: Difference between KMotionCNC and Mach3: slave axis limits |
Hi Tom,
That would surely fix it !
I'll be able to do some more tests next week .
Thank you again
|
|